from langchain_core.prompts import PromptTemplate, MessagesPlaceholder, HumanMessagePromptTemplate, ChatPromptTemplate

prompt = (PromptTemplate.from_template("请讲一个关于{subject}的冷笑话") + ", 让我开心下" + "\n使用{language}语言")

print(prompt.invoke({"subject": "喜剧演员", "language": "中文"}).to_string())
